/**
 * 
 */
package vashion.azeroth.contant;

/**
 * Created by Loki on 16/1/17.
 *
 */
public enum BrandErrorEnum {

    QUERY_ERROR(11001, "查询异常"),
    SYSTEM_ERROR(11002, "系统异常"),
    ARG_ERROR(11003, "参数不全"),
    IS_NULL(11004, "品牌为空"),

    BRAND_QUERY_ERROR(11005, "品牌查询异常"),
    BRAND_SYSTEM_ERROR(11006, "品牌系统异常"),
    BRAND_ARG_ERROR(11007, "品牌参数不全"),
    BRAND_IS_NULL(11008, "品牌为空"),

    ALREADY_EXITS(11013, "品牌已存在"),
    ALREADY_CONNECT(11014, "类目和品牌已关联"),;

    private
    int errorCode;
    private
    String errorMessage;

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    private BrandErrorEnum(int errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

}
